package com.teama4.shop.service;

import com.teama4.shop.domain.StoreCollect;
import com.teama4.shop.domain.StoreCollectExample;
import com.teama4.shop.mapper.StoreCollectMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class StoreCollectServiceImpl implements StoreCollectService {
    @Autowired
    private StoreCollectMapper storeCollectMapper;
    @Override
    public long countByExample(StoreCollectExample example) {
        return storeCollectMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(StoreCollectExample example) {
        return storeCollectMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return storeCollectMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(StoreCollect record) {
        return storeCollectMapper.insert(record);
    }

    @Override
    public int insertSelective(StoreCollect record) {
        return storeCollectMapper.insertSelective(record);
    }

    @Override
    public List<StoreCollect> selectByExample(StoreCollectExample example) {
        return storeCollectMapper.selectByExample(example);
    }

    @Override
    public StoreCollect selectByPrimaryKey(Integer id) {
        return storeCollectMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(StoreCollect record, StoreCollectExample example) {
        return storeCollectMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(StoreCollect record, StoreCollectExample example) {
        return storeCollectMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(StoreCollect record) {
        return storeCollectMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(StoreCollect record) {
        return storeCollectMapper.updateByPrimaryKey(record);
    }
}
